#ifndef AUDIO_H
#define AUDIO_H


#include <QObject>
#include<QAudioFormat>
#include<QAudioDeviceInfo>
#include<QMessageBox>
#include<QFile>
#include<QAudioInput>
class audio : public QObject
{
    Q_OBJECT
public:
    explicit audio(QObject *parent = nullptr);

    void startAudio(QString fileName);
    void stopAudio();

signals:

public slots:
private:
    QAudioInput *my_Audio;
    QFile *my_file;
};

#endif // AUDIO_H
